﻿using Newtonsoft.Json;
using System;
using System.Text.Json.Serialization;

namespace ThresholdAssistant.WebAPI.Models
{
    /// <summary>
    /// 获取统计参数
    /// </summary>
    public class GetStatisticsParam
    {
        /// <summary>
        /// 开始时间(yyyy-MM-dd)
        /// </summary>
        [JsonProperty("start_time"), JsonPropertyName("start_time")]
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 结束时间(yyyy-MM-dd)
        /// </summary>
        [JsonProperty("end_time"),JsonPropertyName("end_time")]
        public DateTime? EndTime { get; set; }
    }
}
